package com.example.stlink.model.response.data;

import androidx.annotation.NonNull;

import java.util.List;

public class CourseData <T> {

    private Integer current;

    private List<T> records;

    private Integer size;

    private Integer total;

    public Integer getCurrent() {
        return current;
    }

    public void setCurrent(Integer current) {
        this.current = current;
    }

    public List<T> getRecords() {
        return records;
    }

    public void setRecords(List<T> records) {
        this.records = records;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    @NonNull
    @Override
    public String toString() {
        return "CourseData{" +
                "current=" + current +
                ", records=" + records +
                ", size=" + size +
                ", total=" + total +
                '}';
    }

}
